package vip.fkandy.mysql.common.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import vip.fkandy.mysql.common.entities.Employee;
import vip.fkandy.mysql.common.mapper.EmployeeMapper;


@Service
public class EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    public List<Employee> getAll() {
        return employeeMapper.selectAll();
    }

}
